[INFO] fetching crate can_adapter 0.5.0...
[INFO] checking can_adapter-0.5.0 against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] extracting crate can_adapter 0.5.0 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate can_adapter 0.5.0
[INFO] finished tweaking crates.io crate can_adapter 0.5.0
[INFO] tweaked toml for crates.io crate can_adapter 0.5.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate can_adapter 0.5.0 on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate can_adapter 0.5.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: file `/workspace/builds/worker-3-tc1/source/src/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `lib` target `can_adapter`
[INFO] [stderr]   * `bin` target `logger`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clap-num v1.2.0
[INFO] [stderr]   Downloaded dbg_hex v0.2.0
[INFO] [stderr]   Downloaded socketcan v3.5.0
[INFO] [stderr]   Downloaded rust-ini v0.21.2
[INFO] [stderr]   Downloaded serialport v4.7.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5babe585d7002c84438298605a12e4828431eaee2e97fae93248f0180ea67409
[INFO] running `Command { std: "docker" "start" "-a" "5babe585d7002c84438298605a12e4828431eaee2e97fae93248f0180ea67409", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5babe585d7002c84438298605a12e4828431eaee2e97fae93248f0180ea67409", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5babe585d7002c84438298605a12e4828431eaee2e97fae93248f0180ea67409", kill_on_drop: false }`
[INFO] [stdout] 5babe585d7002c84438298605a12e4828431eaee2e97fae93248f0180ea67409
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3898868a52ddd19662042708426f1a49ea2dce87215f602d1a5a514dc73888c4
[INFO] running `Command { std: "docker" "start" "-a" "3898868a52ddd19662042708426f1a49ea2dce87215f602d1a5a514dc73888c4", kill_on_drop: false }`
[INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `lib` target `can_adapter`
[INFO] [stderr]   * `bin` target `logger`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking anstyle-parse v0.2.7
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]     Checking colorchoice v1.0.4
[INFO] [stderr]     Checking anstyle v1.0.11
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking anstyle-query v1.1.3
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking nb v1.1.0
[INFO] [stderr]     Checking clap_lex v0.7.5
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling socketcan v3.5.0
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]     Checking embedded-can v0.4.1
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking anstream v0.6.19
[INFO] [stderr]     Checking clap-num v1.2.0
[INFO] [stderr]     Checking dbg_hex v0.2.0
[INFO] [stderr]     Checking clap_builder v4.5.41
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking rust-ini v0.21.2
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]     Checking libudev v0.3.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]    Compiling color-print-proc-macro v0.3.7
[INFO] [stderr]    Compiling zerocopy-derive v0.8.26
[INFO] [stderr]     Checking color-print v0.3.7
[INFO] [stderr]     Checking clap v4.5.41
[INFO] [stderr]     Checking thiserror v2.0.12
[INFO] [stderr]     Checking unescaper v0.1.6
[INFO] [stderr]     Checking serialport v4.7.2
[INFO] [stderr]    Compiling neli-proc-macros v0.1.4
[INFO] [stderr]     Checking neli v0.6.5
[INFO] [stderr]     Checking can_adapter v0.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/j1939/mod.rs:70:22
[INFO] [stdout]    |
[INFO] [stdout] 70 |         connection: &(dyn Connection),
[INFO] [stdout]    |                      ^              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 70 -         connection: &(dyn Connection),
[INFO] [stdout] 70 +         connection: &dyn Connection,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/j1939/mod.rs:97:34
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn send(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]    |                                  ^              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 97 -     pub fn send(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout] 97 +     pub fn send(connection: &mut dyn Connection, packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/j1939/mod.rs:106:33
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn send_tp(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |                                 ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 106 -     fn send_tp(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout] 106 +     fn send_tp(connection: &mut dyn Connection, packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/j1939/mod.rs:113:37
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn send_tp_bam(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |                                     ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 113 -     fn send_tp_bam(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout] 113 +     fn send_tp_bam(connection: &mut dyn Connection, packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/j1939/mod.rs:139:36
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn send_tp_ds(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |                                    ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 139 -     fn send_tp_ds(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout] 139 +     fn send_tp_ds(connection: &mut dyn Connection, packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Instant`
[INFO] [stdout]  --> src/uds/mod.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                           ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/j1939/mod.rs:70:22
[INFO] [stdout]    |
[INFO] [stdout] 70 |         connection: &(dyn Connection),
[INFO] [stdout]    |                      ^              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 70 -         connection: &(dyn Connection),
[INFO] [stdout] 70 +         connection: &dyn Connection,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/j1939/mod.rs:97:34
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn send(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]    |                                  ^              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 97 -     pub fn send(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout] 97 +     pub fn send(connection: &mut dyn Connection, packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/j1939/mod.rs:106:33
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn send_tp(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |                                 ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 106 -     fn send_tp(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout] 106 +     fn send_tp(connection: &mut dyn Connection, packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/j1939/mod.rs:113:37
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn send_tp_bam(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |                                     ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 113 -     fn send_tp_bam(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout] 113 +     fn send_tp_bam(connection: &mut dyn Connection, packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/j1939/mod.rs:139:36
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn send_tp_ds(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |                                    ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 139 -     fn send_tp_ds(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout] 139 +     fn send_tp_ds(connection: &mut dyn Connection, packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Instant`
[INFO] [stdout]  --> src/uds/mod.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                           ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sa`
[INFO] [stdout]   --> src/j1939/mod.rs:65:35
[INFO] [stdout]    |
[INFO] [stdout] 65 |             J1939::AddressClaim { sa } => todo!(),
[INFO] [stdout]    |                                   ^^ help: try ignoring the field: `sa: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sa`
[INFO] [stdout]   --> src/j1939/mod.rs:65:35
[INFO] [stdout]    |
[INFO] [stdout] 65 |             J1939::AddressClaim { sa } => todo!(),
[INFO] [stdout]    |                                   ^^ help: try ignoring the field: `sa: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block_size`
[INFO] [stdout]   --> src/uds/iso15765.rs:91:25
[INFO] [stdout]    |
[INFO] [stdout] 91 |                     let block_size = p.payload[1];
[INFO] [stdout]    |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/uds/iso15765.rs:188:17
[INFO] [stdout]     |
[INFO] [stdout] 188 |             let mut tp = Iso15765::new(&tx_connection, 0xDA00, Duration::from_secs(2), 0, 0xF9);
[INFO] [stdout]     |                 ----^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/uds/iso15765.rs:197:13
[INFO] [stdout]     |
[INFO] [stdout] 197 |         let mut tp = Iso15765::new(&connection, 0xDA00, Duration::from_secs(2), 0xF9, 0);
[INFO] [stdout]     |             ----^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/uds/iso15765.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let mut rx_tp = Iso15765::new(&rx_connection, 0xDA00, DURATION, 0, 0xF9);
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/uds/mod.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let mut iso15765 = Iso15765::new(
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `speed`
[INFO] [stdout]   --> src/socketcanconnection.rs:42:27
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn new(str: &str, speed: u64) -> Result<SocketCanConnection, anyhow::Error> {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block_size`
[INFO] [stdout]   --> src/uds/iso15765.rs:91:25
[INFO] [stdout]    |
[INFO] [stdout] 91 |                     let block_size = p.payload[1];
[INFO] [stdout]    |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/uds/mod.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let mut iso15765 = Iso15765::new(
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg`
[INFO] [stdout]    --> src/main.rs:108:14
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn hex_array(arg: &str) -> Result<Box<[u8]>, std::num::ParseIntError> {
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_arg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `speed`
[INFO] [stdout]   --> src/socketcanconnection.rs:42:27
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn new(str: &str, speed: u64) -> Result<SocketCanConnection, anyhow::Error> {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timestamp` is never read
[INFO] [stdout]   --> src/j1939/mod.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct TPDescriptor {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     timestamp: Option<Duration>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TPDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `J1939_21TpConnAbort` is never constructed
[INFO] [stdout]    --> src/j1939/mod.rs:422:8
[INFO] [stdout]     |
[INFO] [stdout] 422 | struct J1939_21TpConnAbort {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `J1939_21TpBAM` is never constructed
[INFO] [stdout]    --> src/j1939/mod.rs:432:8
[INFO] [stdout]     |
[INFO] [stdout] 432 | struct J1939_21TpBAM {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg`
[INFO] [stdout]    --> src/main.rs:108:14
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn hex_array(arg: &str) -> Result<Box<[u8]>, std::num::ParseIntError> {
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_arg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timestamp` is never read
[INFO] [stdout]   --> src/j1939/mod.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct TPDescriptor {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     timestamp: Option<Duration>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TPDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `J1939_21TpConnAbort` is never constructed
[INFO] [stdout]    --> src/j1939/mod.rs:422:8
[INFO] [stdout]     |
[INFO] [stdout] 422 | struct J1939_21TpConnAbort {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `J1939_21TpBAM` is never constructed
[INFO] [stdout]    --> src/j1939/mod.rs:432:8
[INFO] [stdout]     |
[INFO] [stdout] 432 | struct J1939_21TpBAM {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/j1939/mod.rs:70:22
[INFO] [stdout]    |
[INFO] [stdout] 70 |         connection: &(dyn Connection),
[INFO] [stdout]    |                      ^              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 70 -         connection: &(dyn Connection),
[INFO] [stdout] 70 +         connection: &dyn Connection,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/j1939/mod.rs:97:34
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn send(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]    |                                  ^              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 97 -     pub fn send(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout] 97 +     pub fn send(connection: &mut dyn Connection, packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/j1939/mod.rs:106:33
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn send_tp(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |                                 ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 106 -     fn send_tp(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout] 106 +     fn send_tp(connection: &mut dyn Connection, packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/j1939/mod.rs:113:37
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn send_tp_bam(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |                                     ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 113 -     fn send_tp_bam(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout] 113 +     fn send_tp_bam(connection: &mut dyn Connection, packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/j1939/mod.rs:139:36
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn send_tp_ds(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |                                    ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 139 -     fn send_tp_ds(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout] 139 +     fn send_tp_ds(connection: &mut dyn Connection, packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/j1939/mod.rs:70:22
[INFO] [stdout]    |
[INFO] [stdout] 70 |         connection: &(dyn Connection),
[INFO] [stdout]    |                      ^              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 70 -         connection: &(dyn Connection),
[INFO] [stdout] 70 +         connection: &dyn Connection,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Instant`
[INFO] [stdout]  --> src/uds/mod.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                           ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/j1939/mod.rs:97:34
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn send(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]    |                                  ^              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 97 -     pub fn send(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout] 97 +     pub fn send(connection: &mut dyn Connection, packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/j1939/mod.rs:106:33
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn send_tp(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |                                 ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 106 -     fn send_tp(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout] 106 +     fn send_tp(connection: &mut dyn Connection, packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/j1939/mod.rs:113:37
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn send_tp_bam(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |                                     ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 113 -     fn send_tp_bam(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout] 113 +     fn send_tp_bam(connection: &mut dyn Connection, packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/j1939/mod.rs:139:36
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn send_tp_ds(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |                                    ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 139 -     fn send_tp_ds(connection: &mut (dyn Connection), packet: &J1939Packet) -> Result<()> {
[INFO] [stdout] 139 +     fn send_tp_ds(connection: &mut dyn Connection, packet: &J1939Packet) -> Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Instant`
[INFO] [stdout]  --> src/uds/mod.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                           ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sa`
[INFO] [stdout]   --> src/j1939/mod.rs:65:35
[INFO] [stdout]    |
[INFO] [stdout] 65 |             J1939::AddressClaim { sa } => todo!(),
[INFO] [stdout]    |                                   ^^ help: try ignoring the field: `sa: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sa`
[INFO] [stdout]   --> src/j1939/mod.rs:65:35
[INFO] [stdout]    |
[INFO] [stdout] 65 |             J1939::AddressClaim { sa } => todo!(),
[INFO] [stdout]    |                                   ^^ help: try ignoring the field: `sa: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block_size`
[INFO] [stdout]   --> src/uds/iso15765.rs:91:25
[INFO] [stdout]    |
[INFO] [stdout] 91 |                     let block_size = p.payload[1];
[INFO] [stdout]    |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/uds/mod.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let mut iso15765 = Iso15765::new(
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `speed`
[INFO] [stdout]   --> src/socketcanconnection.rs:42:27
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn new(str: &str, speed: u64) -> Result<SocketCanConnection, anyhow::Error> {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block_size`
[INFO] [stdout]   --> src/uds/iso15765.rs:91:25
[INFO] [stdout]    |
[INFO] [stdout] 91 |                     let block_size = p.payload[1];
[INFO] [stdout]    |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/uds/iso15765.rs:188:17
[INFO] [stdout]     |
[INFO] [stdout] 188 |             let mut tp = Iso15765::new(&tx_connection, 0xDA00, Duration::from_secs(2), 0, 0xF9);
[INFO] [stdout]     |                 ----^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/uds/iso15765.rs:197:13
[INFO] [stdout]     |
[INFO] [stdout] 197 |         let mut tp = Iso15765::new(&connection, 0xDA00, Duration::from_secs(2), 0xF9, 0);
[INFO] [stdout]     |             ----^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/uds/iso15765.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let mut rx_tp = Iso15765::new(&rx_connection, 0xDA00, DURATION, 0, 0xF9);
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg`
[INFO] [stdout]    --> src/main.rs:108:14
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn hex_array(arg: &str) -> Result<Box<[u8]>, std::num::ParseIntError> {
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_arg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/uds/mod.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let mut iso15765 = Iso15765::new(
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `speed`
[INFO] [stdout]   --> src/socketcanconnection.rs:42:27
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn new(str: &str, speed: u64) -> Result<SocketCanConnection, anyhow::Error> {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg`
[INFO] [stdout]    --> src/main.rs:108:14
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn hex_array(arg: &str) -> Result<Box<[u8]>, std::num::ParseIntError> {
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_arg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timestamp` is never read
[INFO] [stdout]   --> src/j1939/mod.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct TPDescriptor {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     timestamp: Option<Duration>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TPDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `J1939_21TpConnAbort` is never constructed
[INFO] [stdout]    --> src/j1939/mod.rs:422:8
[INFO] [stdout]     |
[INFO] [stdout] 422 | struct J1939_21TpConnAbort {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `J1939_21TpBAM` is never constructed
[INFO] [stdout]    --> src/j1939/mod.rs:432:8
[INFO] [stdout]     |
[INFO] [stdout] 432 | struct J1939_21TpBAM {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timestamp` is never read
[INFO] [stdout]   --> src/j1939/mod.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct TPDescriptor {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     timestamp: Option<Duration>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TPDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `J1939_21TpConnAbort` is never constructed
[INFO] [stdout]    --> src/j1939/mod.rs:422:8
[INFO] [stdout]     |
[INFO] [stdout] 422 | struct J1939_21TpConnAbort {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `J1939_21TpBAM` is never constructed
[INFO] [stdout]    --> src/j1939/mod.rs:432:8
[INFO] [stdout]     |
[INFO] [stdout] 432 | struct J1939_21TpBAM {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.48s
[INFO] running `Command { std: "docker" "inspect" "3898868a52ddd19662042708426f1a49ea2dce87215f602d1a5a514dc73888c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3898868a52ddd19662042708426f1a49ea2dce87215f602d1a5a514dc73888c4", kill_on_drop: false }`
[INFO] [stdout] 3898868a52ddd19662042708426f1a49ea2dce87215f602d1a5a514dc73888c4
